package cn.wolfcode.service;

import cn.wolfcode.domain.Permission;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
     void reload();

     PageInfo<Permission> selectAll(QueryObject qo);


     List<Permission> listAll();

     List selectByRoleId(Long roleId);

     List<Permission> selectByEmpId(Long empId);
}
